package com.lzq.transdemo.service;

import com.lzq.transdemo.dao.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    public Integer registry(String userName, String password) {
        return userInfoMapper.insertUserInfo(userName,password);
    }
}
